//
//  YCDropDownMenuView.h
//  YCSchool
//
//  Created by gmall on 16/5/10.
//  Copyright © 2016年 yanglinxia. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef void (^didSelectRowOfIndexPathBlock)(NSIndexPath *indexPath);


@interface YCDropDownMenuView : UIView

//传入的是字典数组,如:@[@{},@{}],字典为@{@"icon":@"图片名",@"title":@"扫一扫"}
- (instancetype)initWithFrame:(CGRect)frame itemDictArray:(NSArray *)dictArray;

// 显示
- (void)showWithDidSelectRowOfIndexPathBlock:(didSelectRowOfIndexPathBlock)selectRowOfIndexPathBlock;


@end
